<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
    <title></title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        .test {
            width: 300px;
            height: 200px;
            background-color: red;
        }

        @media screen and (max-width: 900px) and (min-width: 300px){
            .test {
                width: 100%;
                height: 100%;
                background-color: blue;
            }
        }

        /*@media screen and (min-width: *px) and (max-width: *px) {*/
            /**/
        /*}*/

    </style>
</head>
<body>
    <div class="test">
ss
    </div>
</body>
</html>